package com.traffic.service;

import cn.jpush.api.push.PushResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.traffic.entity.Message;

import java.text.ParseException;
import java.util.List;


public interface PushService extends IService<Message> {

    //推送指定目标用户
    PushResult testSendPush(List<String> users,String content,String title);

    //推送所有用户
    PushResult testSendPush(String content,String title);

    List<Message> searchList(String startDate,String endDate,String content)throws ParseException;

}
